package com.itheima.atte.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author itheima
 * @since 2020-12-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class OvertimeRule implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 公司id
     */
    private Long companyId;

    /**
     * 加班规则名称
     */
    private String name;

    /**
     * 预警单位 1每日，2每周，3每月
     */
    private Integer alarmUnit;

    /**
     * 风险预警-累计超过小时数
     */
    private Integer alarmHours;

    private String attendGroupIds;


}
